package com.hmdp.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RedisData {
//    过期时间
    private LocalDateTime expireTime;
//  原版的数据
    private Object data;

}
